//
//  EXiPhoneAdditions.h
//  MagicBase
//
//  Created by PH on 7.1.10.
//  Copyright 2010 Codesign. All rights reserved.
//

#import <Foundation/Foundation.h>

#ifdef PLBLOCKS
typedef NSComparisonResult (^NSComparator)(id obj1, id obj2);

@interface NSComparatorWrapper : NSObject {
	NSComparator comp;
	id object;
}

@property (nonatomic, assign) id object;

- (id)initWithComparator:(NSComparator)_comp;

@end

@interface NSArray (EXiPhoneAdditions)

- (NSArray*)sortedArrayUsingComparator:(NSComparator)comparator;

@end

@interface NSMutableArray (EXiPhoneAdditions)

- (void)sortUsingComparator:(NSComparator)comparator;

@end
#endif
